package com.xunlai.infra.permission.business.dao.entity.vo;

import com.xunlai.infra.permission.business.dao.entity.ScenicArea;
import com.xunlai.infra.permission.storage.entity.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import org.springframework.data.jdbc.core.mapping.AggregateReference;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.MappedCollection;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 8/25/23 6:55 PM
 */
@Table("travel_photo_gallery")
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class PhotoGalleryAreaVo extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = -9115815278529999360L;

    @Id
    private Long id;

    private String photoType;

    private String photoDesc;

    private String photoUri;

    private String photoName;

    private Boolean official;

    private AggregateReference<ScenicArea,Long> photoArea;
}
